import { createApp } from "vue";

export function getImageUrl(fileName:string) {
    // console.log(import.meta.url);
    // console.log(fileName);
    // console.log(`./src/src_images/${fileName}.jpg`);
    const url=new URL(`./src/src_images/${fileName}.jpg`, import.meta.url);
    // console.log('url',url);
    
    const url2=new URL(`./src/src_images/avatar1.jpg`, import.meta.url);
    // console.log('url2',url2);
    return url.href
  }



